package com.ttn.start.ctrl;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class StartpageController {
	@RequestMapping("/**/*.html")
	public String processStartpageRequest(HttpServletRequest request){
		return request.getRequestURI().substring(request.getRequestURI().lastIndexOf("/")+1).replaceAll(".html", "");
		
	}

}
